<!DOCTYPE html>
<head>
	<title>Practica Circuitos</title>
	<link href="css/estilo1.css" rel="stylesheet" type="text/css">
</head>
<body><br/><br/><br/><br/><br/>
	<form name="frm_circuito1" id="frm_circuito1" action="../controlador/ctrl_circuito1.php" method="post">
	<table align="center" name="tbl_circuito" id="tbl_circuito" width="201" class="Estilo2" cellspacing="0">
	  <tr>
		<td colspan="2" align="center" class="Estilo1"><label name="tbl_titulo" id="lbl_titulo">Circuito 1: <br/>
		Compuertas L&oacute;gicas</label></td>
	  </tr>
	  <tr>
		<td width="124" align="center">Entrada</td>
		<td width="61" align="center">Valor</td>
	  </tr>
	  <tr>
		<td align="center">A</td>
		<td><input name="txt_datoa" id="txt_datoa" type="number" max="1" min="0" size="10"/></td>
	  </tr>
	  <tr>
		<td align="center">B</td>
		<td><input name="txt_datob" id="txt_datob" type="number" max="1" min="0" size="10"></td>
	  </tr>
	  <tr>
		<td align="center">C</td>
		<td><input name="txt_datoc" id="txt_datoc" type="number" max="1" min="0" size="10"></td>
	  </tr>
	  <tr>
		<td align="center">D</td>
		<td><input name="txt_datod" id="txt_datod" type="number" max="1" min="0" size="10"></td>
	  </tr>
	  <tr>
		<td align="center">Resultado:</td>
		<td align="center"><label name="lbl_resultado" id="lbl_resultado"> <?php if(isset($_GET['r']) != ""){echo $_GET['r'];} ?> </label></td>
	  </tr>
	  <tr>
		<td colspan="2" align="center"><input type="submit" name="btn_enviar" id="btn_enviar" value="Calcular"/></td>
	  </tr>
	</table>
	</form>
</body>
</html>
